package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.common.R;
import com.example.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 员工信息 服务类
 * </p>
 *
 * @author lw
 * @since 2023-01-30
 */
public interface EmployeeService extends IService<Employee> {
    R<Employee> login(HttpServletRequest request, Employee employee);
    R<String> addEmployee(HttpServletRequest request,Employee employee);

    R<Page> getPage(int page, int pageSize, String name);

    R<String>  updateState(HttpServletRequest request,Employee employee);
}
